package com.bootdo.clouddo.service.juejin.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bootdo.clouddo.dao.juejin.TagDao;
import com.bootdo.clouddo.domain.juejin.TagDO;
import com.bootdo.clouddo.service.juejin.ITagService;

@Service
public class TagServiceImpl implements ITagService {
	
	@Autowired
	private TagDao dao;

	@Override
	public int save(TagDO tag) {
		return dao.insertSelective(tag);
	}

	@Override
	public TagDO get(String id) {
		return dao.selectByPrimaryKey(id);
	}
	
	

}
